package cn.sll.user.service.impl;

import cn.sll.user.domain.User;
import cn.sll.user.mapper.UserMapper;
import cn.sll.user.service.IUserService;
import cn.sll.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sll
 * @since 2022-12-30
 */
@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findByPhone(String phone) {
        return userMapper.findByPhone(phone);
    }
}
